projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c5f5bd
)
(c-before-change): Fix BOB bug.
author
Alan Mackenzie
<acm@muc.de>
Sun, 25 Mar 2007 12:03:13 +0000
(12:03 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sun, 25 Mar 2007 12:03:13 +0000
(12:03 +0000)
lisp/progmodes/cc-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-mode.el
b/lisp/progmodes/cc-mode.el
index 4e0b92d107cf2fc2a16b495f2a1d2b442540e0bb..f5da0eecc2ec3ac5462350c646423b5746c11151 100644
(file)
--- a/
lisp/progmodes/cc-mode.el
+++ b/
lisp/progmodes/cc-mode.el
@@
-509,9
+509,9
@@
preferably use the `c-mode-menu' language constant directly."
type type-pos
marked-id term-pos
(end1
- (
if
(eq (get-text-property end 'face) 'font-lock-comment-face)
-
(previous-single-property-change end 'face
)
- end)))
+ (
or (and
(eq (get-text-property end 'face) 'font-lock-comment-face)
+
(previous-single-property-change end 'face)
)
+
end)))
(when (>= end1 beg) ; Don't hassle about changes entirely in comments.
;; Find a limit for the search for a `c-type' property
(while